Skip to content

Conversation

hackaugusto
Copy link
Collaborator

@hackaugusto hackaugusto commented Apr 16, 2025

This is a backwards compatible message format. It adds a version field to the message, and fallbacks to the existing envelope as a default. This will allow to deploy a worker that supports the current in-flight messages and also a new format. The goal is to eventually phase out the legacy format (the one without a version field), and to add a version that doesn't need the S3 keys nor the hydratable attributes (the former is not needed here, but can't yet be removed because of backwards compatibility, the later is an artifact of how the messages are constructed, and it is not important for the worker, it also results in compilation warnings because of the macro use)

Copy link

linear bot commented Apr 16, 2025

@delehef delehef force-pushed the lag-830-add-versioning-to-worker-messages branch from a297dc4 to 7d927bd Compare May 14, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant